package com.yjt.sousou.detail.entity;

import com.google.gson.annotations.SerializedName;
import com.yjt.sousou.base.BaseEntity;

import java.util.List;

/**
 * 作者：83734
 * 时间：2018/11/28
 * 描述：
 */
public class UserEntity extends BaseEntity {

    /**
     * sql : SELECT id,username,bumen,juese,client_id,dh,fenzu,state FROM admin  where password<>123 and juese=0 order by   state asc, bumen  asc
     * data : [{"id":"2","username":"贾建磊","bumen":"1","juese":"0","client_id":"","dh":"","fenzu":"3","state":"1","state_name":"离岗","fenzu_name":"强电","juese_name":"维修员权限"},{"id":"3","username":"杨江涛","bumen":"8","juese":"0","client_id":"f43c44667dfb58c117994f539873abd9","dh":"18511488608","fenzu":"10","state":"2","state_name":"离岗","fenzu_name":"弱电","juese_name":"维修员权限"}]
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * username : 贾建磊
         * bumen : 1
         * juese : 0
         * client_id :
         * dh :
         * fenzu : 3
         * state : 1
         * state_name : 离岗
         * fenzu_name : 强电
         * juese_name : 维修员权限
         */

        private String id;
        private String username;
        private String bumen;
        private String juese;
        private String client_id;
        private String dh;
        private String fenzu;
        @SerializedName("state")
        private String stateX;
        private String state_name;
        private String fenzu_name;
        private String juese_name;
        private boolean isSelected;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getBumen() {
            return bumen;
        }

        public void setBumen(String bumen) {
            this.bumen = bumen;
        }

        public String getJuese() {
            return juese;
        }

        public void setJuese(String juese) {
            this.juese = juese;
        }

        public String getClient_id() {
            return client_id;
        }

        public void setClient_id(String client_id) {
            this.client_id = client_id;
        }

        public String getDh() {
            return dh;
        }

        public void setDh(String dh) {
            this.dh = dh;
        }

        public String getFenzu() {
            return fenzu;
        }

        public void setFenzu(String fenzu) {
            this.fenzu = fenzu;
        }

        public String getStateX() {
            return stateX;
        }

        public void setStateX(String stateX) {
            this.stateX = stateX;
        }

        public String getState_name() {
            return state_name;
        }

        public void setState_name(String state_name) {
            this.state_name = state_name;
        }

        public String getFenzu_name() {
            return fenzu_name;
        }

        public void setFenzu_name(String fenzu_name) {
            this.fenzu_name = fenzu_name;
        }

        public String getJuese_name() {
            return juese_name;
        }

        public void setJuese_name(String juese_name) {
            this.juese_name = juese_name;
        }

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }
    }
}
